import http from "@/api/axios";

export const getListApi = (data: WarehouseCode.SearchForm) => {
  return http({
    method: "post",
    url: "/base/biz/bizWarehouseCodeManage/page",
    data
  });
};
export const addWarehouseCodeApi = (data: Base.GeneraDataType) => {
  return http({
    method: "post",
    url: "/base/biz/bizWarehouseCodeManage/addWarehouseCode",
    data
  });
};
export const editWarehouseCodeApi = (data: Base.GeneraDataType) => {
  return http({
    method: "POST",
    url: "/base/biz/bizWarehouseCodeManage/updateBizWarehouseCode",
    data
  });
};
export const updateWarehouseCodeApi = (data: WarehouseCode.AddForm) => {
  return http({
    method: "post",
    url: "/base/biz/bizWarehouseCodeManage/updateStatus",
    data
  });
};
